#!/bin/bash

ST=`date -d "1 days ago" +%Y%m%d`
hive -e "load data local inpath './000000_0' overwrite into table ods_nshop.ods_nshop_01_useractlog partition(bdp_day='$ST');"